#pragma once
class Fakultet
{
private:
	
public:

	int Recursive(int y)
	{
		int x = 0;

		if (y == 0)
		{
			return 1;
		}
		else
		{
			x = y * Recursive(y - 1);
		}
		return x;
	}

	int Iterative(int y)
	{
		int x = 1;

		for (int i = 1; i <= y; i++)
		{
			x *= i;
		}
		return x;
	}

	Fakultet(void)
	{
	}

	~Fakultet(void)
	{
	}
};

